<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type='text/javascript' src='/dwr/engine.js'></script>

<!-- <script type='text/javascript' src='/dwr/util.js'></script> -->
<script type='text/javascript' src='/dwr/interface/testdwr.js'></script>
<script src="/../static/js/jquery-3.3.1.js" type="text/javascript"></script>

</head>
<body>
	<script>
		
		var sayHello = function(){
	        return testdwr.getMSG("DWR",callBack);
	    }
	    var callBack = function(data)
	    {
	        alert(data);
	    }
	</script>

<button onclick="sayHello()">测试</button>

</body>
</html>